import request from '@/utils/request'

export function downTemplates(){
  return request({
    url:'/module/getTemplate',
    headers: {
      isToken: true,
    },
    method: 'post',
    responseType: 'blob', // 重要：指定响应类型为 blob
  })
}

export function yuanDownTemplates(){
  return request({
      url:'/base/employeeArchives/getTemplate',
      headers: {
        isToken: true,
      },
      method: 'post',
      responseType: 'blob', // 重要：指定响应类型为 blob
    })
}
